package com.example.springboot3.mapper;

import com.example.springboot3.model.Articleinfo;
import com.example.springboot3.model.User1;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface User1Mapper {
    List<User1> getAll();

    int insert(User1 user1);

    int insert2(User1 user1);

    int update(Integer id, String password);

    int delete(Integer id);

    List<User1> selectLike(String str);

    List<Articleinfo> getAllPlus();

    List<User1> getAllPlus1();
    void insertPlus(String username,String password,String p);
    void insertPlus2(String username,String password,String p,Integer state);
    List<User1> selectPlus(String username,String photo,String state);
    int deletePlus(List<Integer> list);
}
